﻿<Window x:Class="MainWindow" Closing="Window_Closing" Icon="res/icon.png" Margin="0"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Width="1000" Height="750">
    <Grid x:Name="g1" Margin="0">
        
        <GroupBox Header="Settings" Margin="0" Panel.ZIndex="99" VerticalAlignment="Stretch" x:Name="gbSettings" Visibility="Collapsed">
            <StackPanel>
                <GroupBox Margin="3" Header="Window settings">
                    <StackPanel>
                        <CheckBox x:Name="cbRememberSize" Content="Remember last window size" VerticalAlignment="Center" Margin="3" Click="cbRememberSize_Click"/>
                        <DockPanel>
                            <TextBlock Text="Zoom level: " VerticalAlignment="Center" Margin="3" DockPanel.Dock="Left"/>
                            <ComboBox x:Name="comboZoom" Margin="3" SelectionChanged="comboZoom_SelectionChanged">
                                <ComboBoxItem Content="Small" Tag="75"/>
                                <ComboBoxItem Content="Medium" Tag="100"/>
                                <ComboBoxItem Content="Big" Tag="125"/>
                            </ComboBox>
                        </DockPanel>
                        
                    </StackPanel>                    
                </GroupBox>
                
                <GroupBox Header="Start page" Margin="3">
                    <ComboBox Margin="3" x:Name="comboStart" SelectionChanged="comboStart_SelectionChanged">
                        <ComboBoxItem Content="Listen now" Tag="https://play.google.com/music/listen?u=0#/now"/>
                        <ComboBoxItem Content="My collection - Artists" Tag="https://play.google.com/music/listen?u=0#/artists"/>
                        <ComboBoxItem Content="My collection - Albums" Tag="https://play.google.com/music/listen?u=0#/albums"/>
                        <ComboBoxItem Content="Instant Mixes" Tag="https://play.google.com/music/listen?u=0#/rd"/>
                    </ComboBox>
                </GroupBox>
                
                <Button Content="Save" Margin="3" MinHeight="30" Width="150" Click="saveSettings_Click"/>
            </StackPanel>
        </GroupBox>
    </Grid>
</Window>
